from cms.models import Banner


class BannerRepository:
    def get_all_banners(self) -> list[Banner]:
        banners = Banner.objects.filter(is_deleted=False)
        return list(banners)
